<?php
include_once "../public/head.php"
?>
<!--/sidebar-->
    <div class="main-wrap">

        <div class="crumb-wrap">
            <div class="crumb-list"><i class="icon-font"></i><a href="../index.php">首页</a><span class="crumb-step">&gt;</span><a class="crumb-name" href="./wenzhang.php">文章管理</a><span class="crumb-step">&gt;</span><span>新增用户</span></div>
        </div>
        <div class="result-wrap">
            <div class="result-content">

                <form action="doadd.php" method="post" enctype="multipart/form-data">
                    <table class="insert-tab" width="100%">
                        <tbody><tr>

                        </tr>


                            <tr>
                                <th><i class="require-red">*</i>所属分类：</th>
                                <td>

                                    <select name="sort" id="sort">
                                   <option value="0" >全部分类</option>
                                    <option value="1">PHP学习</option>
                                    <option value="2">娱乐八卦</option>
                                    <option value="3">大学生活</option>
                                    <option value="4">历史</option>

                                    </select>
                                </td>
                            </tr>
                            <tr>
                                <th><i class="require-red">*</i>文章标题：</th>
                                <td>
                                    <input class="common-text required" id="title" name="title" size="50" value="" type="text">
                                </td>
                            </tr>
                            <tr>
                                <th><i class="require-red">*</i>文章配图：</th>
                                <td><input name="file" id="file" type="file"></td>
                            </tr>

                            <tr>
                                <th>文章内容：</th>
                                <td>
                            <!-- 加载编辑器的容器 -->
                            <script id="baidu" name="content" type="text/plain" style="width: 1000px;">
                                这里写你的初始化内容
                            </script>
                            </td>
                            </tr>

                             <tr>
                                <th><i class="require-red">*</i>文章标签：</th>
                                <td>
                                    <input class="common-text required" id="title" name="tag" size="50" value="" type="text">
                                </td>
                            </tr>

                            <tr>
                                <th><i class="require-reg">*</i>状态：</th>
                                <td>
                                    <input class="" id="title" name="status" size="50" value="1" type="radio" checked="">普通文本
                                    <input class="" id="" name="status" size="50" value="2" type="radio">加精文本
                                </td>
                            </tr>


                            <tr>
                                <th></th>
                                <td>
                                    <input class="btn btn-primary btn6 mr10" value="提交" type="submit">
                                    <input class="btn btn6" onclick="history.go(-1)" value="返回" type="button">
                                </td>
                            </tr>
                        </tbody></table>
                    <!-- 配置文件 -->
                    <script type="text/javascript" src="../../public/baidu/ueditor.config.js"></script>
                    <!-- 编辑器源码文件 -->
                    <script type="text/javascript" src="../../public/baidu/ueditor.all.js"></script>
                    <!-- 实例化编辑器 -->
                    <script type="text/javascript">
                        var ue = UE.getEditor('baidu');
                    </script>
                </form>
            </div>
        </div>

    </div>
    <!--/main-->

    <?php
include_once "../public/end.php"
?>